import api from '@/service/api';

type Params = {
  describe: string;
  classifyName: string;
  classifyCode: string;
};

type Output = {
  id: string;
}

export default (params: Params) => {
  return api.post('/api/image/classify/add', params) as Promise<Output>;
}
